package com.ethink.order.service.impl;

import com.ethink.order.api.info.TobSaleReturnDetailOrderInfo;
import com.ethink.order.common.mapper.TobSaleReturnDetailOrderMapper;
import com.ethink.order.service.TobSaleReturnDetailOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 预售退单详情 Service接口实现
 *
 * @author default
 * @date 2022-12-08
 */
@Slf4j
@Service
public class TobSaleReturnDetailOrderServiceImpl implements TobSaleReturnDetailOrderService {

    @Autowired
    private TobSaleReturnDetailOrderMapper tobSaleReturnDetailOrderMapper;


    @Override
    public List<TobSaleReturnDetailOrderInfo> queryDetailListByTobSaleOrderNo(String tobSaleOrderNo) {
        return tobSaleReturnDetailOrderMapper.queryDetailListByTobSaleOrderNo(tobSaleOrderNo);
    }

    @Override
    public List<String> queryTobSaleReturnOrderDetailOrderNos(List<String> orderNos) {
        return tobSaleReturnDetailOrderMapper.queryTobSaleReturnOrderDetailOrderNos(orderNos);
    }
}
